<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>进度条</title>
    <link rel="stylesheet" type="text/css" href="https://www.layuicdn.com/layui/css/layui.css" />
    <script src="https://www.layuicdn.com/layui/layui.js"></script>
</head>
<body>
    <div class="layui-progress">
        <div class="layui-progress-bar" lay-percent="10%"></div>
    </div>
    <br><br>
    <div class="layui-progress" lay-showPercent="yes">
        <div class="layui-progress-bar layui-progress-big layui-bg-orange" lay-percent="50%"></div>
    </div>
    <br><br>
    <div class="layui-progress layui-progress-big" lay-showPercent="yes">
        <div class="layui-progress-bar layui-bg-blue" lay-percent="80%"></div>
    </div>

    <script>
        layui.use(["element"], function () {
           var element = layui.element;
        });
    </script>
</body>
</html>